package com.cainli.gcmdemo;

import android.os.Environment;

public class Constants {
	public static final String GCM_PREFERENCE = "GCM_preference";
	public static final String GCM_REGISTRATION = "GCM_registration";
	public static final String DATA_FILE_NAME = "gcm.txt";
	public static final String ID_FILE_NAME = "gcm_id.txt";
	public static final String DATA_FILE_PATH = Environment.getExternalStorageDirectory() + "/"+DATA_FILE_NAME;
	public static final String ID_FILE_PATH = Environment.getExternalStorageDirectory() + "/"+ID_FILE_NAME;
	public static CharSequence getExplainText() {
		StringBuffer sb = new StringBuffer();
		sb.append("*").append("数据存放在").append(DATA_FILE_PATH).append("\n")
		    .append("*").append("ID存放在").append(ID_FILE_PATH).append("\n");
		return sb.toString();
	}
}
